﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.Server;
using Microsoft.AspNetCore.Http;
using Microsoft.JSInterop;
using TyBlazorUI.Models;

namespace TyBlazorUI.Pages.Components
{
    public class DefaultLayoutComponentBase : LayoutComponentBase
    {
        [Inject]
        public AuthenticationStateProvider AuthenticationStateProvider { get; set; } = new ServerAuthenticationStateProvider();

        [Inject]
        public NavigationManager? NavigationManager { get; set; }
        [Inject]
        private IHttpContextAccessor? httpContextAccessor { get; set; }
        [Inject]
        public IJSRuntime? JsRuntime { get; set; }

        public NavigatorBarModel Model { get; set; }=new NavigatorBarModel("");


    }
}